﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="SaleSrhForm.aspx.cs" ValidateRequest="false" Inherits="App_Search_SaleSrhForm"
    Title="销售资料查询" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:Panel ID="PanelNavigate" runat="server" />
    <cc1:ComValidator ID="comValidatSrh" runat="server" 
        Font-Bold="True" ForeColor="Red">
    </cc1:ComValidator>
    <br />
    <div id="tableResult" align="center">
        <table id="tblResult" width="80%" runat="server">
            <tr>
                <td align="left">
                    <script language="javascript">
                        (new TitleBar('SearchBar', '检索结果')).showBar();
                    </script>
                </td>
            </tr>
            <tr>
                <td>
                    <center>
                        <asp:GridView ID="viewSrhRst" runat="server" AllowPaging="True" 
                            EnableViewState="False" AutoGenerateColumns="False" CssClass="GridView_table"
                            DataKeyNames="DocId" OnRowCommand="viewSrhRst_RowCommand" OnPageIndexChanging="viewSrhRst_PageIndexChanging" >
                            <Columns>
                                <asp:BoundField HeaderText="资料编号" DataField="DocId" Visible="False">
                                    <HeaderStyle Width="0px" CssClass="GridView_head_grayblue" />
                                    <ItemStyle CssClass="GridView_item_center" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="资料类别" DataField="TypeName">
                                    <ItemStyle CssClass="GridView_item_center" />
                                    <HeaderStyle Width="20%" CssClass="GridView_head_grayblue" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Title" HeaderText="标题">
                                    <HeaderStyle Width="40%" CssClass="GridView_head_grayblue" />
                                    <ItemStyle CssClass="GridView_item_left" />
                                </asp:BoundField>
                                <asp:BoundField DataField="PubDate" HeaderText="发布日期" DataFormatString="{0:yyyy/MM/dd}"
                                    HtmlEncode="False">
                                    <ItemStyle CssClass="GridView_item_center" />
                                    <HeaderStyle Width="30%" CssClass="GridView_head_grayblue" />
                                </asp:BoundField>
                                <asp:ButtonField ButtonType="Image" CommandName="details" HeaderText="详细" Text="详细"
                                    ImageUrl="~/images/info.gif">
                                    <ItemStyle CssClass="GridView_item_center" />
                                    <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                                </asp:ButtonField>
                            </Columns>
                            <PagerSettings Mode="NumericFirstLast" />
                            <PagerStyle HorizontalAlign="Right" />
                        </asp:GridView>                
                    </center>
                </td>
            </tr>
        </table>
    <table id="Table1" width="80%" runat="server">    
            <tr>
            <td>
                <center>
                <table border="0" id="tblPanel1" runat="server">
                </table>
                </center>
            </td>
            </tr>        
    </table>
    </div>
</asp:Content>
